package hft_suttgart.pvc;

import com.example.hft_suttgart.swp2.R;

import android.content.Intent;
import android.content.pm.ActivityInfo;
import android.os.Bundle;
import android.preference.PreferenceActivity;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.CheckBox;
import android.widget.TextView;

public class Connection_Activity extends PreferenceActivity implements OnClickListener{
	
	private TextView checkBox;
	 
	@Override
	protected void onCreate(Bundle savedInstanceState) {
	   super.onCreate(savedInstanceState);
	   setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE);
	   addPreferencesFromResource(R.layout.connection_ui_layout);
	   
	   checkBox = (TextView)findViewById(R.id.local);
	   checkBox.setOnClickListener(this);
		
	}

	@Override
	public void onClick(View component) {
		/*switch (component.getId()) {
		case R.id.local:
			Intent intent = new Intent(this, Opponent_List.class);
			startActivity(intent);
			break;
			}*/
	}
	}
